package com.xinjian.jianba.utils;

public class JianBaEnum {

    public enum UserStatusEnum {
        NORMAL(0), FORBIDDEN(1), BLACKLIST(2);

        private int value;

        UserStatusEnum(int val) {
            this.value = val;
        }

        public int getValue() {
            return value;
        }

        public void setValue(int value) {
            this.value = value;
        }
    }

    public enum SexEnum {
        MALE(0), FEMALE(1);

        private int value;

        SexEnum(int val) {
            this.value = val;
        }

        public int getValue() {
            return value;
        }

        public void setValue(int value) {
            this.value = value;
        }
    }

    public enum MeetMatchEnum {
        // 0:约见中；1：约见成功；2：约见失败；3：取消约见;4:撤销约见
        IN("0"), SUCCESS("1"), FAILE("2"), CANCEL("3"), REVOKE("4");

        private String value;

        MeetMatchEnum(String val) {
            this.value = val;
        }

        public String getValue() {
            return value;
        }

        public void setValue(String value) {
            this.value = value;
        }
    }

    public enum RelationEnum {
        // 0:拉黑 9:已关注对方,但被对方拉黑 1:关注
        FOCUS("1"), BLACK("0"), CHANGE("9");
        private String val;

        RelationEnum(String val) {
            this.val = val;
        }

        public String getVal() {
            return val;
        }

        public void setVal(String val) {
            this.val = val;
        }

    }

    public enum DataStatusEnum {
        // 0:下架,1:上架,2:删除
        DOWN(0), UP(1), DEL(2);

        private Integer value;

        DataStatusEnum(Integer val) {
            this.value = val;
        }

        public Integer getValue() {
            return value;
        }

        public void setValue(Integer value) {
            this.value = value;
        }
    }

    public enum PayTypeEnum {
        // 支付类型:0:支付宝,1:微信,2:见币,3:ios
        ALIPAY(0), WEIXIN(1), JIAN(2), IOS(3);

        private Integer value;

        PayTypeEnum(Integer val) {
            this.value = val;
        }

        public Integer getValue() {
            return value;
        }

        public void setValue(Integer value) {
            this.value = value;
        }

    }

    public enum PayStatusEnum {
        // 支付类型:0:待支付,1:已支付,2:已过期
        WAIT_PAY(0), PAY(1), EXPIRE_PAY(2);

        private Integer value;

        PayStatusEnum(Integer val) {
            this.value = val;
        }

        public Integer getValue() {
            return value;
        }

        public void setValue(Integer value) {
            this.value = value;
        }

    }

    public enum PayWayEnum {

        WEIXIN("微信"),

        ALIPAY("支付宝");

        /** 描述 */
        private String desc;

        private PayWayEnum(String desc) {
            this.desc = desc;
        }

        public String getDesc() {
            return desc;
        }

        public void setDesc(String desc) {
            this.desc = desc;
        }
    }

}
